﻿using System;
using System.Collections.Generic;
using KZ.Utilities;
namespace KZ.Express.H.ENT
{
    public class RoleObjectENT : BaseENT
    {
        [Output]
        public int RoleID { get; set; }


        public int ObjectID { get; set; }


        public string Permission { get; set; }



        [NotInsertUpdate]
        public bool IsDeleted { get; set; }

        public string CreatedBy { get; set; }

        [NotInsertUpdate]
        public DateTime? CreatedDate { get; set; }

        public string UpdatedBy { get; set; }

        [NotInsertUpdate]
        public DateTime? UpdatedDate { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Roles_Objects"; } }

        [NotInsertUpdate]
        public override string PrimaryKey { get { return "RoleID"; } }

        [NotInsertUpdate]
        public override string InsertProcedure { get { return "proc_Roles_Objects_Insert"; } }

        [NotInsertUpdate]
        public override string UpdateProcedure { get { return "proc_Roles_Objects_Update"; } }

        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Roles_Objects_Select"; } }
    }
}